package top.superxuqc.loginbili.controller;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.apache.tomcat.util.http.fileupload.IOUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import top.superxuqc.loginbili.service.DownVideoService;
import top.superxuqc.loginbili.service.SearchAudioService;

import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.*;
import java.util.Collections;
import java.util.concurrent.TimeUnit;

@Controller
public class AppSearchController {
    @Autowired
    SearchAudioService ss;
    @Autowired
    private DownVideoService ds;


    /**
     *
     * @param keyword
     * @param page
     * @param cookies
     * @param request
     * @return
     */
    @RequestMapping("/x/v/get_music")
    @ResponseBody
    public JSONObject getMusic(String keyword, int page,String cookies, HttpServletRequest request) {
        request.setAttribute("cookies",cookies);
        JSONObject music = ss.getMusic(keyword, page+1, request);
        System.out.println("app api访问");
        //JSONObject music = JSONObject.parseObject("{\"suggest_keyword\":\"\",\"result\":[{\"play\":830646,\"favorites\":24667,\"bvid\":\"BV1Xf4y1R77V\",\"rank_score\":110735126,\"hit_columns\":[\"title\",\"description\"],\"mid\":642136732,\"description\":\"2016/09/20 公开\\n星野源 9th Single『恋』\\nhttps://jvcmusic.lnk.to/koi\\n \\n作词・作曲・编曲・制作 / 星野源\\n \\n星野源:\\nWebsite:  https://www.hoshinogen.com/cn/\\nWeibo:https://weibo.com/u/7295580084\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/3c5cfe74a949d6fbf0e43b661e80c59f5bd9bf83.jpg\",\"type\":\"video\",\"title\":\"【官方】星野源 – <em class=\\\"keyword\\\">恋</em> (Official Video)  星野源的B站首支投稿\",\"duration\":\"4:34\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":3855,\"senddate\":1595680815,\"typeid\":\"193\",\"id\":286430352,\"tag\":\"星野源\",\"video_review\":2364,\"pubdate\":1595680814,\"author\":\"星野源\",\"arcurl\":\"http://www.bilibili.com/video/av286430352\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":286430352,\"is_pay\":0,\"typename\":\"MV\"},{\"play\":165543,\"favorites\":5041,\"bvid\":\"BV1Qf4y1q7H7\",\"rank_score\":106420723,\"hit_columns\":[\"title\"],\"mid\":642136732,\"description\":\"星野源 Blu-ray &amp; DVD 『DOME TOUR “POP VIRUS” at TOKYO DOME』\\nhttps://jvcmusic.lnk.to/dometourpopvirus_shop\\n \\n1. 歌を歌うときは\\n2. Pop Virus\\n3. 地獄でなぜ悪い\\n4. Get a Feel\\n5. 桜の森\\n6. 肌\\n7. Pair Dancer\\n8. Present\\n9. サピエンス\\n10. ドラえもん\\n11.「一流ミュージシャンからのお祝いコメント1」\\n12. ばらばら\\n13. STUTS \",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/c44be4af875c81562f4fde4564660338cc957e86.jpg\",\"type\":\"video\",\"title\":\"【官方】星野源 – <em class=\\\"keyword\\\">恋</em>（Live at Tokyo Dome 2019）\",\"duration\":\"4:21\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":420,\"senddate\":1602064818,\"typeid\":\"29\",\"id\":287335344,\"tag\":\"星野源\",\"video_review\":526,\"pubdate\":1602064815,\"author\":\"星野源\",\"arcurl\":\"http://www.bilibili.com/video/av287335344\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":287335344,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":106015,\"favorites\":1115,\"bvid\":\"BV1yQ4y1o7qB\",\"rank_score\":105192005,\"hit_columns\":[\"title\",\"tag\"],\"mid\":42561463,\"description\":\"今天是520，现在是下午5:20\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/3ee12c6b2ae37df9423a76ebc3afee08f18c4558.jpg\",\"type\":\"video\",\"title\":\"【唢呐】星野源 – <em class=\\\"keyword\\\">恋</em> (逃避虽可耻但有用）\",\"duration\":\"1:32\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":703,\"senddate\":1621502421,\"typeid\":\"59\",\"id\":715645098,\"tag\":\"恋,音乐,名曲,唢呐,星野源,逃避虽可耻但有用,古乐新意\",\"video_review\":235,\"pubdate\":1621502416,\"author\":\"浑元Rysn\",\"arcurl\":\"http://www.bilibili.com/video/av715645098\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":715645098,\"is_pay\":0,\"typename\":\"演奏\"},{\"play\":417988,\"favorites\":14360,\"bvid\":\"BV1MC4y1b7Sq\",\"rank_score\":104736329,\"hit_columns\":[\"title\",\"description\"],\"mid\":403748305,\"description\":\"BML2020云live单品《恋》。你从未听过的船新版本\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/d1d3ee1db6ca1f2b37c6063e014563b131833582.jpg\",\"type\":\"video\",\"title\":\"星野源不一样的《<em class=\\\"keyword\\\">恋</em>》！你从未听过的船新版本！【BML2020单品】\",\"duration\":\"5:38\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":968,\"senddate\":1596019487,\"typeid\":\"29\",\"id\":796415071,\"tag\":\"bml,bml云live,星野源\",\"video_review\":2158,\"pubdate\":1595684226,\"author\":\"BML制作指挥部\",\"arcurl\":\"http://www.bilibili.com/video/av796415071\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":1,\"aid\":796415071,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":346544,\"favorites\":1861,\"bvid\":\"BV1zK4y1A7sy\",\"rank_score\":103589378,\"hit_columns\":[\"title\",\"tag\"],\"mid\":19868163,\"description\":\"红白歌会\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/78cdad75a6d11a9a92e72c71fbf265da38380b0c.jpg\",\"type\":\"video\",\"title\":\"红白战歌 星野源 《<em class=\\\"keyword\\\">恋</em>》\",\"duration\":\"4:46\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":893,\"senddate\":1621065256,\"typeid\":\"29\",\"id\":888051184,\"tag\":\"恋,红白歌会,逃避可耻但有用,新垣结衣\",\"video_review\":872,\"pubdate\":1621065256,\"author\":\"缠缠成溪\",\"arcurl\":\"http://www.bilibili.com/video/av888051184\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":888051184,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":180556,\"favorites\":3707,\"bvid\":\"BV1LK4y1U7TN\",\"rank_score\":103200632,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":1880696010,\"description\":\"大家好??\\n\\n天气终于渐暖了，春天要来了~! 作为纪念，我们准备的是适合春天的，欢快的歌曲! \\n[日剧]逃避虽可耻但很有用ED- 恋 (Koi).\\n我相信大多数人都知道这首歌! 听这首歌会变得很幸福，所以录制的过程我们的心情也很好呢! 舞蹈...对...对.......!\\n希望大家今天也度过幸福的一天哦!\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/193e4f0ce8b81b6a9a15b4968d48c9450c41a056.jpg\",\"type\":\"video\",\"title\":\"这首歌是超级萌萌的日剧主题曲!!!《逃避虽可耻但很有用》OST 《<em class=\\\"keyword\\\">恋</em>(Koi)》-星野 源 │月亮河马Dalmabal\",\"duration\":\"3:52\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":204,\"senddate\":1615196194,\"typeid\":\"31\",\"id\":929622292,\"tag\":\"沙雕日常,bilibili新星计划,外语翻唱,治愈向,唱歌,音乐,日语翻唱,吉他弹唱,逃避虽可耻但很有用,恋\",\"video_review\":132,\"pubdate\":1615196194,\"author\":\"月亮河马Dalmabal\",\"arcurl\":\"http://www.bilibili.com/video/av929622292\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":929622292,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":77424,\"favorites\":6242,\"bvid\":\"BV1D54y1b75x\",\"rank_score\":103092017,\"hit_columns\":[\"title\"],\"mid\":15388834,\"description\":\"转自：https://www.youtube.com/watch?v=o3JH_i1JzYM&amp;feature\\n网易云音频:https://y.music.163.com/m/song/1822259438/?uct=T19XDEZAG9De8pah6oTQAw%3D%3D&amp;app_version=8.2.0\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/dc6a14cdb725fd4b941f729ee690878f819fa274.jpg\",\"type\":\"video\",\"title\":\"【たかやん】「推しにガチ<em class=\\\"keyword\\\">恋</em>する曲」 中文字幕\",\"duration\":\"3:32\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":243,\"senddate\":1620460827,\"typeid\":\"130\",\"id\":845115666,\"tag\":\"音乐,youtube,日本,日语,たかやん,歌曲\",\"video_review\":168,\"pubdate\":1618143982,\"author\":\"伪人_\",\"arcurl\":\"http://www.bilibili.com/video/av845115666\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":845115666,\"is_pay\":0,\"typename\":\"音乐综合\"},{\"play\":9446,\"favorites\":63,\"bvid\":\"BV1nK4y1G75g\",\"rank_score\":103074883,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":670400594,\"description\":\"《逃避虽可耻但有用》的主题曲《恋》钢琴版~\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/adcc04e5e04e1850952775d8d521ee0847802df7.jpg\",\"type\":\"video\",\"title\":\"【<em class=\\\"keyword\\\">恋</em>】逃避虽然可耻，但真的有用~\",\"duration\":\"1:41\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":152,\"senddate\":1621496787,\"typeid\":\"59\",\"id\":888207741,\"tag\":\"BGM,恋,音乐,新垣结衣,翻弹,钢琴版,钢琴演奏,星野源,逃避虽可耻但有用,520心动告白季\",\"video_review\":19,\"pubdate\":1621496787,\"author\":\"艾栗夏\",\"arcurl\":\"http://www.bilibili.com/video/av888207741\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":888207741,\"is_pay\":0,\"typename\":\"演奏\"},{\"play\":63,\"favorites\":5,\"bvid\":\"BV1UV411j7hP\",\"rank_score\":102984780,\"hit_columns\":[\"title\",\"tag\"],\"mid\":1274610906,\"description\":\"520快乐呀！！！\\r\\n完整录播：《20210519 今天学歌+唱歌——》https://www.bilibili.com/video/BV19v41157an?p=4\\r\\n\\r\\nstaff：花宴ichika\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/a36c349fb7b429046540b8d6c9c5f9d639e7d4fe.png\",\"type\":\"video\",\"title\":\"【直播切片/花宴ichika】<em class=\\\"keyword\\\">恋</em> / 星野源（520快乐！！！）\",\"duration\":\"4:15\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":5,\"senddate\":1621496078,\"typeid\":\"29\",\"id\":418232679,\"tag\":\"恋,新垣结衣,星野源,逃避可耻但有用,逃避虽可耻但有用\",\"video_review\":0,\"pubdate\":1621496078,\"author\":\"花宴ichika\",\"arcurl\":\"http://www.bilibili.com/video/av418232679\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":418232679,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":435,\"favorites\":6,\"bvid\":\"BV1R5411u7eH\",\"rank_score\":102826366,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":12976034,\"description\":\"原曲《恋》by 星野源\\n翻唱：DBYezihu\\n这次是一次过的，有些瑕疵见谅qwq\\n喜欢的话可以三连+关注\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/445c2edb03d9f774dca3b6c868ed3368258b7377.jpg\",\"type\":\"video\",\"title\":\"新垣结衣结婚了，沙雕网友悲痛之下翻唱星野源的《<em class=\\\"keyword\\\">恋</em>》\",\"duration\":\"4:43\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":3,\"senddate\":1621518332,\"typeid\":\"31\",\"id\":460740496,\"tag\":\"恋,音乐,搞笑,新垣结衣,男声,COVER,日文翻唱,星野源,逃避虽可耻但有用,我的音乐你听吗\",\"video_review\":0,\"pubdate\":1621483214,\"author\":\"DBYezihu\",\"arcurl\":\"http://www.bilibili.com/video/av460740496\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":460740496,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":26229,\"favorites\":224,\"bvid\":\"BV1R64y1y7Hr\",\"rank_score\":102779636,\"hit_columns\":[\"title\",\"tag\"],\"mid\":9233579,\"description\":\"旧档更新\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/d01ccd60eb10cf1d5aa927a2f47537a97d6d31ab.jpg\",\"type\":\"video\",\"title\":\"星野源 - <em class=\\\"keyword\\\">恋</em> Music Station 18-09-17\",\"duration\":\"4:36\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":64,\"senddate\":1619433717,\"typeid\":\"29\",\"id\":760303165,\"tag\":\"恋,星野源,逃避可耻却有用\",\"video_review\":21,\"pubdate\":1619433717,\"author\":\"レモンの興味物\",\"arcurl\":\"http://www.bilibili.com/video/av760303165\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":760303165,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":1153,\"favorites\":38,\"bvid\":\"BV1hN411Z7x7\",\"rank_score\":102724418,\"hit_columns\":[\"title\",\"tag\"],\"mid\":4322043,\"description\":\"原唱：星野源\\n翻唱：月霖\\n大家520快乐~~~~昨日惊闻星野源和新垣结衣结婚，震惊完该祝福两个小可爱啦，也祝大家都能找到自己的幸福~~~~\\n\\n最近时间很赶，大晚上录完这首来不及后期了orz大家听个响\\n总之大帅逼和大漂亮们三连先啦~~~~\\n\\n网易云：月霖\\n粉丝群：1143420617\\n录播：月霖录播机\\n网站：www.yuelin.live\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/dd0a8e950c38b91d224e01e342546dfec48a7ce5.jpg\",\"type\":\"video\",\"title\":\"【月霖翻唱】星野源——<em class=\\\"keyword\\\">恋</em> 逃避可耻但有用\",\"duration\":\"4:10\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":26,\"senddate\":1621474216,\"typeid\":\"31\",\"id\":503222232,\"tag\":\"恋,新垣结衣,日文翻唱,星野源,Gakki,逃避可耻但有用\",\"video_review\":0,\"pubdate\":1621474214,\"author\":\"月霖_咕咕\",\"arcurl\":\"http://www.bilibili.com/video/av503222232\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":503222232,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":566755,\"favorites\":13696,\"bvid\":\"BV1sK411J74T\",\"rank_score\":102714816,\"hit_columns\":[\"title\"],\"mid\":229733301,\"description\":\"自己制作\\n蓝光原盘制作\\n原盘自带的字幕\\n4K最高画质制作\\n之前一位粉丝疯狂推荐的歌曲\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/f46fef163e8d9de72f12a2e4f45fe04d241d8c57.jpg\",\"type\":\"video\",\"title\":\"【4K30FPS】杨千嬅《少女的祈祷》超感人现场！献给所有的<em class=\\\"keyword\\\">恋</em>人们\",\"duration\":\"3:31\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":390,\"senddate\":1621304497,\"typeid\":\"29\",\"id\":498906488,\"tag\":\"华语现场,杨千嬅,粤语现场,少女的祈祷,4K\",\"video_review\":571,\"pubdate\":1594981150,\"author\":\"音乐私藏馆\",\"arcurl\":\"http://www.bilibili.com/video/av498906488\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":498906488,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":541554,\"favorites\":49855,\"bvid\":\"BV1by4y1b7pB\",\"rank_score\":102618534,\"hit_columns\":[\"title\"],\"mid\":417096985,\"description\":\"作词：NE/金鼠儿\\n作曲：NE/金鼠儿\\n混音：NE\\n视频制作：YB\\n爱情是精神上的，遵循自己的内心一点问题都没有，尊重和理解，同性恋怎么，我兄弟也是，他们没有错\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/95bbbdd8800a250b02baf782e245a6eafe196e6d.jpg\",\"type\":\"video\",\"title\":\"【说唱】同 性 <em class=\\\"keyword\\\">恋</em> 有 错 吗\",\"duration\":\"3:14\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":3979,\"senddate\":1617501852,\"typeid\":\"28\",\"id\":799902298,\"tag\":\"全能音乐挑战赛,说唱,HIPHOP,RAP,音乐,嘻哈,原创歌曲,05,音乐视频,同性恋\",\"video_review\":2253,\"pubdate\":1617501617,\"author\":\"一只NE呐\",\"arcurl\":\"http://www.bilibili.com/video/av799902298\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":1,\"aid\":799902298,\"is_pay\":0,\"typename\":\"原创音乐\"},{\"play\":63608,\"favorites\":4668,\"bvid\":\"BV1hp4y1H74D\",\"rank_score\":102488294,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":13839671,\"description\":\"https://www.youtube.com/watch?v=EV5iSxhvBrQ\\n字幕/翻译：JZLSX\\n可能有错 仅供参考\\n\\n男子：奥平大兼　女子：長澤樹\\n先生：浜辺美波・まふまふ\\n\\n■音楽「片恋」　\\n歌   ：まふまふ\\n作曲：草野華余子\\n作詞：いしわたり淳治\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/e83f2109f80479faab27b4f47d411002ced30efb.jpg\",\"type\":\"video\",\"title\":\"【中文字幕/女子篇】高校1000日間の片想い 【まふまふ・浜辺美波・奥平大兼・長澤樹/ドコモ/曲:「片<em class=\\\"keyword\\\">恋</em>」】\",\"duration\":\"4:0\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":165,\"senddate\":1615782800,\"typeid\":\"193\",\"id\":971936910,\"tag\":\"まふまふ,中文字幕,字幕,片恋\",\"video_review\":132,\"pubdate\":1614667372,\"author\":\"uni_JZ-LSX\",\"arcurl\":\"http://www.bilibili.com/video/av971936910\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":971936910,\"is_pay\":0,\"typename\":\"MV\"},{\"play\":55410,\"favorites\":4248,\"bvid\":\"BV1Bf4y1p7fb\",\"rank_score\":102389903,\"hit_columns\":[\"title\"],\"mid\":1966810,\"description\":\"주저하는 연인들을 위해 \\nFor Lovers Who Hesitate\\nJannabi - Legend黑胶试听\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/449b2fdf755478b5d2d63f88bc1528267d401c42.jpg\",\"type\":\"video\",\"title\":\"致犹豫不决的<em class=\\\"keyword\\\">恋</em>人们 - Jannabi 黑胶试听\",\"duration\":\"4:23\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":185,\"senddate\":1620918271,\"typeid\":\"130\",\"id\":290296385,\"tag\":\"人间治愈时刻,黑胶试听,jannabi,乐队,黑胶,音乐\",\"video_review\":43,\"pubdate\":1619785183,\"author\":\"hhaell\",\"arcurl\":\"http://www.bilibili.com/video/av290296385\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":290296385,\"is_pay\":0,\"typename\":\"音乐综合\"},{\"play\":467218,\"favorites\":28993,\"bvid\":\"BV1sK4y1t7Gr\",\"rank_score\":102369073,\"hit_columns\":[\"title\"],\"mid\":387994725,\"description\":\"―――――もしもし。\\n\\n\\n\\n『プロジェクトセカイ カラフルステージ！ feat. 初音ミク』\\n「25時、ナイトコードで。」書き下ろし楽曲のセルフカバーです\\n\\n\\n絵 茶々ごま https://twitter.com/gura1000be\\n映像 MONO-Devoid https://twitter.com/DevoidFire\\n\\n歌／作詞作編曲\\nまふまふ https://weibo.com/u/6856340946\\n\\n\\nプロジェクトセカイ　公式サイト\\nhttps://pjsekai.sega.jp/\\n\\nTw\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/bd22ac7e15dde32f499ceff69db1d9c134791a0a.jpg\",\"type\":\"video\",\"title\":\"【MV】携帯<em class=\\\"keyword\\\">恋</em>話／まふまふ\",\"duration\":\"4:17\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":1855,\"senddate\":1590141493,\"typeid\":\"28\",\"id\":883285731,\"tag\":\"MV,mafumafu\",\"video_review\":2858,\"pubdate\":1590141493,\"author\":\"Mafumafu_Channel\",\"arcurl\":\"http://www.bilibili.com/video/av883285731\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":883285731,\"is_pay\":0,\"typename\":\"原创音乐\"},{\"play\":415426,\"favorites\":8904,\"bvid\":\"BV1Vk4y1R78H\",\"rank_score\":102331936,\"hit_columns\":[\"title\"],\"mid\":443251522,\"description\":\"\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/8b3f7b3738e9f70e684f3796e9f9c36da7f51609.jpg\",\"type\":\"video\",\"title\":\"胡彦斌、白举纲&quot;岔气式&quot;对唱《单<em class=\\\"keyword\\\">恋</em>一枝花》\",\"duration\":\"5:34\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":503,\"senddate\":1587460505,\"typeid\":\"28\",\"id\":752769640,\"tag\":\"胡彦斌,音乐,现场,歌曲,改编\",\"video_review\":1211,\"pubdate\":1587460505,\"author\":\"胡彦斌TigerHu\",\"arcurl\":\"http://www.bilibili.com/video/av752769640\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":752769640,\"is_pay\":0,\"typename\":\"原创音乐\"},{\"play\":414443,\"favorites\":22233,\"bvid\":\"BV1Nr4y1M77o\",\"rank_score\":102320884,\"hit_columns\":[\"title\"],\"mid\":480536263,\"description\":\"原作《狐言》BV1Xs41197PH\\n演唱&amp;念白：魂喵喵\\n填词：迟公台\\n混音：饭団子P\\n后期：未央\\n插画：自摸叉腰姬\\n——————————————————\\n上一作《岩龙吟》来听听钟离的故事BV1C5411G7fk\\n\\n这一作产出着实紧凑\\n【关于混音】饭団老师效率不要太高！2个小时不到就出成品了，还超级有耐心，感动喵国\\n【关于填词】公台的填词简直棒，最初也在填词上遇到过一些问题，为了填出更好的作品，还请了老师学习相关知识，总之我已经把公台填词YYDS打公屏上了\\n【关于插画】画画人画画魂画画人永远是不眠人？\\n【\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/a0fa56aa37f5bd384c852eebd561482025918465.jpg\",\"type\":\"video\",\"title\":\"【原神×甘雨】<em class=\\\"keyword\\\">恋</em>雨 | 璃月有娇娘 冰洁如月光\",\"duration\":\"3:14\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":808,\"senddate\":1610614599,\"typeid\":\"31\",\"id\":756238398,\"tag\":\"翻唱挑战赛,原神,米哈游,甘雨,王小美,狐言,魂喵喵,虚拟偶像,VUP,戏腔\",\"video_review\":945,\"pubdate\":1610506810,\"author\":\"魂喵喵Official\",\"arcurl\":\"http://www.bilibili.com/video/av756238398\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":1,\"aid\":756238398,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":188,\"favorites\":28,\"bvid\":\"BV1Vv411L7Z9\",\"rank_score\":102237205,\"hit_columns\":[\"title\",\"tag\"],\"mid\":457348604,\"description\":\"谱子BV12b411778D 节奏按的的自己舒服的来 用软件把声音调大了声音所以底噪会比较大\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/a1fb97417f446e6142fa11ba4755679330ee5e37.jpg\",\"type\":\"video\",\"title\":\"全站首发【<em class=\\\"keyword\\\">恋</em>与制作人】无声告白 吉他指弹 在520这天送你的一份礼物\",\"duration\":\"1:25\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":21,\"senddate\":1621440189,\"typeid\":\"59\",\"id\":248199659,\"tag\":\"520发现爱,恋与制作人,指弹,吉他指弹,音乐,木吉他\",\"video_review\":2,\"pubdate\":1621440189,\"author\":\"克林的克林\",\"arcurl\":\"http://www.bilibili.com/video/av248199659\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":248199659,\"is_pay\":0,\"typename\":\"演奏\"}],\"numPages\":50,\"show_column\":0,\"cost_time\":{\"params_check\":\"0.000422\",\"deserialize_response\":\"0.000888\",\"as_request_format\":\"0.000469\",\"as_request\":\"0.130895\",\"total\":\"0.142162\",\"as_response_format\":\"0.004002\",\"save_cache\":\"0.001139\",\"main_handler\":\"0.136598\",\"illegal_handler\":\"0.000068\"},\"seid\":\"5055468986528622124\",\"pagesize\":20,\"numResults\":1000,\"egg_hit\":0,\"page\":1,\"rqt_type\":\"search\",\"exp_list\":{\"5501\":true,\"6604\":true}}");
        return music;

    }
    @RequestMapping("/x/v/detail")
    @ResponseBody
    public String getDetail(String av,String cookies, HttpServletRequest request) {

        String detail = ds.getDetail(cookies,av);
        System.out.println("detail访问");
        //ay\":830646,\"favorites\":24667,\"bvid\":\"BV1Xf4y1R77V\",\"rank_score\":110735126,\"hit_columns\":[\"title\",\"description\"],\"mid\":642136732,\"description\":\"2016/09/20 公开\\n星野源 9th Single『恋』\\nhttps://jvcmusic.lnk.to/koi\\n \\n作词・作曲・编曲・制作 / 星野源\\n \\n星野源:\\nWebsite:  https://www.hoshinogen.com/cn/\\nWeibo:https://weibo.com/u/7295580084\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/3c5cfe74a949d6fbf0e43b661e80c59f5bd9bf83.jpg\",\"type\":\"video\",\"title\":\"【官方】星野源 – <em class=\\\"keyword\\\">恋</em> (Official Video)  星野源的B站首支投稿\",\"duration\":\"4:34\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":3855,\"senddate\":1595680815,\"typeid\":\"193\",\"id\":286430352,\"tag\":\"星野源\",\"video_review\":2364,\"pubdate\":1595680814,\"author\":\"星野源\",\"arcurl\":\"http://www.bilibili.com/video/av286430352\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":286430352,\"is_pay\":0,\"typename\":\"MV\"},{\"play\":165543,\"favorites\":5041,\"bvid\":\"BV1Qf4y1q7H7\",\"rank_score\":106420723,\"hit_columns\":[\"title\"],\"mid\":642136732,\"description\":\"星野源 Blu-ray &amp; DVD 『DOME TOUR “POP VIRUS” at TOKYO DOME』\\nhttps://jvcmusic.lnk.to/dometourpopvirus_shop\\n \\n1. 歌を歌うときは\\n2. Pop Virus\\n3. 地獄でなぜ悪い\\n4. Get a Feel\\n5. 桜の森\\n6. 肌\\n7. Pair Dancer\\n8. Present\\n9. サピエンス\\n10. ドラえもん\\n11.「一流ミュージシャンからのお祝いコメント1」\\n12. ばらばら\\n13. STUTS \",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/c44be4af875c81562f4fde4564660338cc957e86.jpg\",\"type\":\"video\",\"title\":\"【官方】星野源 – <em class=\\\"keyword\\\">恋</em>（Live at Tokyo Dome 2019）\",\"duration\":\"4:21\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":420,\"senddate\":1602064818,\"typeid\":\"29\",\"id\":287335344,\"tag\":\"星野源\",\"video_review\":526,\"pubdate\":1602064815,\"author\":\"星野源\",\"arcurl\":\"http://www.bilibili.com/video/av287335344\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":287335344,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":106015,\"favorites\":1115,\"bvid\":\"BV1yQ4y1o7qB\",\"rank_score\":105192005,\"hit_columns\":[\"title\",\"tag\"],\"mid\":42561463,\"description\":\"今天是520，现在是下午5:20\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/3ee12c6b2ae37df9423a76ebc3afee08f18c4558.jpg\",\"type\":\"video\",\"title\":\"【唢呐】星野源 – <em class=\\\"keyword\\\">恋</em> (逃避虽可耻但有用）\",\"duration\":\"1:32\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":703,\"senddate\":1621502421,\"typeid\":\"59\",\"id\":715645098,\"tag\":\"恋,音乐,名曲,唢呐,星野源,逃避虽可耻但有用,古乐新意\",\"video_review\":235,\"pubdate\":1621502416,\"author\":\"浑元Rysn\",\"arcurl\":\"http://www.bilibili.com/video/av715645098\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":715645098,\"is_pay\":0,\"typename\":\"演奏\"},{\"play\":417988,\"favorites\":14360,\"bvid\":\"BV1MC4y1b7Sq\",\"rank_score\":104736329,\"hit_columns\":[\"title\",\"description\"],\"mid\":403748305,\"description\":\"BML2020云live单品《恋》。你从未听过的船新版本\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/d1d3ee1db6ca1f2b37c6063e014563b131833582.jpg\",\"type\":\"video\",\"title\":\"星野源不一样的《<em class=\\\"keyword\\\">恋</em>》！你从未听过的船新版本！【BML2020单品】\",\"duration\":\"5:38\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":968,\"senddate\":1596019487,\"typeid\":\"29\",\"id\":796415071,\"tag\":\"bml,bml云live,星野源\",\"video_review\":2158,\"pubdate\":1595684226,\"author\":\"BML制作指挥部\",\"arcurl\":\"http://www.bilibili.com/video/av796415071\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":1,\"aid\":796415071,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":346544,\"favorites\":1861,\"bvid\":\"BV1zK4y1A7sy\",\"rank_score\":103589378,\"hit_columns\":[\"title\",\"tag\"],\"mid\":19868163,\"description\":\"红白歌会\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/78cdad75a6d11a9a92e72c71fbf265da38380b0c.jpg\",\"type\":\"video\",\"title\":\"红白战歌 星野源 《<em class=\\\"keyword\\\">恋</em>》\",\"duration\":\"4:46\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":893,\"senddate\":1621065256,\"typeid\":\"29\",\"id\":888051184,\"tag\":\"恋,红白歌会,逃避可耻但有用,新垣结衣\",\"video_review\":872,\"pubdate\":1621065256,\"author\":\"缠缠成溪\",\"arcurl\":\"http://www.bilibili.com/video/av888051184\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":888051184,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":180556,\"favorites\":3707,\"bvid\":\"BV1LK4y1U7TN\",\"rank_score\":103200632,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":1880696010,\"description\":\"大家好??\\n\\n天气终于渐暖了，春天要来了~! 作为纪念，我们准备的是适合春天的，欢快的歌曲! \\n[日剧]逃避虽可耻但很有用ED- 恋 (Koi).\\n我相信大多数人都知道这首歌! 听这首歌会变得很幸福，所以录制的过程我们的心情也很好呢! 舞蹈...对...对.......!\\n希望大家今天也度过幸福的一天哦!\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/193e4f0ce8b81b6a9a15b4968d48c9450c41a056.jpg\",\"type\":\"video\",\"title\":\"这首歌是超级萌萌的日剧主题曲!!!《逃避虽可耻但很有用》OST 《<em class=\\\"keyword\\\">恋</em>(Koi)》-星野 源 │月亮河马Dalmabal\",\"duration\":\"3:52\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":204,\"senddate\":1615196194,\"typeid\":\"31\",\"id\":929622292,\"tag\":\"沙雕日常,bilibili新星计划,外语翻唱,治愈向,唱歌,音乐,日语翻唱,吉他弹唱,逃避虽可耻但很有用,恋\",\"video_review\":132,\"pubdate\":1615196194,\"author\":\"月亮河马Dalmabal\",\"arcurl\":\"http://www.bilibili.com/video/av929622292\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":929622292,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":77424,\"favorites\":6242,\"bvid\":\"BV1D54y1b75x\",\"rank_score\":103092017,\"hit_columns\":[\"title\"],\"mid\":15388834,\"description\":\"转自：https://www.youtube.com/watch?v=o3JH_i1JzYM&amp;feature\\n网易云音频:https://y.music.163.com/m/song/1822259438/?uct=T19XDEZAG9De8pah6oTQAw%3D%3D&amp;app_version=8.2.0\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/dc6a14cdb725fd4b941f729ee690878f819fa274.jpg\",\"type\":\"video\",\"title\":\"【たかやん】「推しにガチ<em class=\\\"keyword\\\">恋</em>する曲」 中文字幕\",\"duration\":\"3:32\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":243,\"senddate\":1620460827,\"typeid\":\"130\",\"id\":845115666,\"tag\":\"音乐,youtube,日本,日语,たかやん,歌曲\",\"video_review\":168,\"pubdate\":1618143982,\"author\":\"伪人_\",\"arcurl\":\"http://www.bilibili.com/video/av845115666\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":845115666,\"is_pay\":0,\"typename\":\"音乐综合\"},{\"play\":9446,\"favorites\":63,\"bvid\":\"BV1nK4y1G75g\",\"rank_score\":103074883,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":670400594,\"description\":\"《逃避虽可耻但有用》的主题曲《恋》钢琴版~\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/adcc04e5e04e1850952775d8d521ee0847802df7.jpg\",\"type\":\"video\",\"title\":\"【<em class=\\\"keyword\\\">恋</em>】逃避虽然可耻，但真的有用~\",\"duration\":\"1:41\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":152,\"senddate\":1621496787,\"typeid\":\"59\",\"id\":888207741,\"tag\":\"BGM,恋,音乐,新垣结衣,翻弹,钢琴版,钢琴演奏,星野源,逃避虽可耻但有用,520心动告白季\",\"video_review\":19,\"pubdate\":1621496787,\"author\":\"艾栗夏\",\"arcurl\":\"http://www.bilibili.com/video/av888207741\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":888207741,\"is_pay\":0,\"typename\":\"演奏\"},{\"play\":63,\"favorites\":5,\"bvid\":\"BV1UV411j7hP\",\"rank_score\":102984780,\"hit_columns\":[\"title\",\"tag\"],\"mid\":1274610906,\"description\":\"520快乐呀！！！\\r\\n完整录播：《20210519 今天学歌+唱歌——》https://www.bilibili.com/video/BV19v41157an?p=4\\r\\n\\r\\nstaff：花宴ichika\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/a36c349fb7b429046540b8d6c9c5f9d639e7d4fe.png\",\"type\":\"video\",\"title\":\"【直播切片/花宴ichika】<em class=\\\"keyword\\\">恋</em> / 星野源（520快乐！！！）\",\"duration\":\"4:15\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":5,\"senddate\":1621496078,\"typeid\":\"29\",\"id\":418232679,\"tag\":\"恋,新垣结衣,星野源,逃避可耻但有用,逃避虽可耻但有用\",\"video_review\":0,\"pubdate\":1621496078,\"author\":\"花宴ichika\",\"arcurl\":\"http://www.bilibili.com/video/av418232679\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":418232679,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":435,\"favorites\":6,\"bvid\":\"BV1R5411u7eH\",\"rank_score\":102826366,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":12976034,\"description\":\"原曲《恋》by 星野源\\n翻唱：DBYezihu\\n这次是一次过的，有些瑕疵见谅qwq\\n喜欢的话可以三连+关注\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/445c2edb03d9f774dca3b6c868ed3368258b7377.jpg\",\"type\":\"video\",\"title\":\"新垣结衣结婚了，沙雕网友悲痛之下翻唱星野源的《<em class=\\\"keyword\\\">恋</em>》\",\"duration\":\"4:43\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":3,\"senddate\":1621518332,\"typeid\":\"31\",\"id\":460740496,\"tag\":\"恋,音乐,搞笑,新垣结衣,男声,COVER,日文翻唱,星野源,逃避虽可耻但有用,我的音乐你听吗\",\"video_review\":0,\"pubdate\":1621483214,\"author\":\"DBYezihu\",\"arcurl\":\"http://www.bilibili.com/video/av460740496\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":460740496,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":26229,\"favorites\":224,\"bvid\":\"BV1R64y1y7Hr\",\"rank_score\":102779636,\"hit_columns\":[\"title\",\"tag\"],\"mid\":9233579,\"description\":\"旧档更新\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/d01ccd60eb10cf1d5aa927a2f47537a97d6d31ab.jpg\",\"type\":\"video\",\"title\":\"星野源 - <em class=\\\"keyword\\\">恋</em> Music Station 18-09-17\",\"duration\":\"4:36\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":64,\"senddate\":1619433717,\"typeid\":\"29\",\"id\":760303165,\"tag\":\"恋,星野源,逃避可耻却有用\",\"video_review\":21,\"pubdate\":1619433717,\"author\":\"レモンの興味物\",\"arcurl\":\"http://www.bilibili.com/video/av760303165\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":760303165,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":1153,\"favorites\":38,\"bvid\":\"BV1hN411Z7x7\",\"rank_score\":102724418,\"hit_columns\":[\"title\",\"tag\"],\"mid\":4322043,\"description\":\"原唱：星野源\\n翻唱：月霖\\n大家520快乐~~~~昨日惊闻星野源和新垣结衣结婚，震惊完该祝福两个小可爱啦，也祝大家都能找到自己的幸福~~~~\\n\\n最近时间很赶，大晚上录完这首来不及后期了orz大家听个响\\n总之大帅逼和大漂亮们三连先啦~~~~\\n\\n网易云：月霖\\n粉丝群：1143420617\\n录播：月霖录播机\\n网站：www.yuelin.live\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/dd0a8e950c38b91d224e01e342546dfec48a7ce5.jpg\",\"type\":\"video\",\"title\":\"【月霖翻唱】星野源——<em class=\\\"keyword\\\">恋</em> 逃避可耻但有用\",\"duration\":\"4:10\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":26,\"senddate\":1621474216,\"typeid\":\"31\",\"id\":503222232,\"tag\":\"恋,新垣结衣,日文翻唱,星野源,Gakki,逃避可耻但有用\",\"video_review\":0,\"pubdate\":1621474214,\"author\":\"月霖_咕咕\",\"arcurl\":\"http://www.bilibili.com/video/av503222232\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":503222232,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":566755,\"favorites\":13696,\"bvid\":\"BV1sK411J74T\",\"rank_score\":102714816,\"hit_columns\":[\"title\"],\"mid\":229733301,\"description\":\"自己制作\\n蓝光原盘制作\\n原盘自带的字幕\\n4K最高画质制作\\n之前一位粉丝疯狂推荐的歌曲\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/f46fef163e8d9de72f12a2e4f45fe04d241d8c57.jpg\",\"type\":\"video\",\"title\":\"【4K30FPS】杨千嬅《少女的祈祷》超感人现场！献给所有的<em class=\\\"keyword\\\">恋</em>人们\",\"duration\":\"3:31\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":390,\"senddate\":1621304497,\"typeid\":\"29\",\"id\":498906488,\"tag\":\"华语现场,杨千嬅,粤语现场,少女的祈祷,4K\",\"video_review\":571,\"pubdate\":1594981150,\"author\":\"音乐私藏馆\",\"arcurl\":\"http://www.bilibili.com/video/av498906488\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":498906488,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":541554,\"favorites\":49855,\"bvid\":\"BV1by4y1b7pB\",\"rank_score\":102618534,\"hit_columns\":[\"title\"],\"mid\":417096985,\"description\":\"作词：NE/金鼠儿\\n作曲：NE/金鼠儿\\n混音：NE\\n视频制作：YB\\n爱情是精神上的，遵循自己的内心一点问题都没有，尊重和理解，同性恋怎么，我兄弟也是，他们没有错\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/95bbbdd8800a250b02baf782e245a6eafe196e6d.jpg\",\"type\":\"video\",\"title\":\"【说唱】同 性 <em class=\\\"keyword\\\">恋</em> 有 错 吗\",\"duration\":\"3:14\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":3979,\"senddate\":1617501852,\"typeid\":\"28\",\"id\":799902298,\"tag\":\"全能音乐挑战赛,说唱,HIPHOP,RAP,音乐,嘻哈,原创歌曲,05,音乐视频,同性恋\",\"video_review\":2253,\"pubdate\":1617501617,\"author\":\"一只NE呐\",\"arcurl\":\"http://www.bilibili.com/video/av799902298\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":1,\"aid\":799902298,\"is_pay\":0,\"typename\":\"原创音乐\"},{\"play\":63608,\"favorites\":4668,\"bvid\":\"BV1hp4y1H74D\",\"rank_score\":102488294,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":13839671,\"description\":\"https://www.youtube.com/watch?v=EV5iSxhvBrQ\\n字幕/翻译：JZLSX\\n可能有错 仅供参考\\n\\n男子：奥平大兼　女子：長澤樹\\n先生：浜辺美波・まふまふ\\n\\n■音楽「片恋」　\\n歌   ：まふまふ\\n作曲：草野華余子\\n作詞：いしわたり淳治\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/e83f2109f80479faab27b4f47d411002ced30efb.jpg\",\"type\":\"video\",\"title\":\"【中文字幕/女子篇】高校1000日間の片想い 【まふまふ・浜辺美波・奥平大兼・長澤樹/ドコモ/曲:「片<em class=\\\"keyword\\\">恋</em>」】\",\"duration\":\"4:0\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":165,\"senddate\":1615782800,\"typeid\":\"193\",\"id\":971936910,\"tag\":\"まふまふ,中文字幕,字幕,片恋\",\"video_review\":132,\"pubdate\":1614667372,\"author\":\"uni_JZ-LSX\",\"arcurl\":\"http://www.bilibili.com/video/av971936910\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":971936910,\"is_pay\":0,\"typename\":\"MV\"},{\"play\":55410,\"favorites\":4248,\"bvid\":\"BV1Bf4y1p7fb\",\"rank_score\":102389903,\"hit_columns\":[\"title\"],\"mid\":1966810,\"description\":\"주저하는 연인들을 위해 \\nFor Lovers Who Hesitate\\nJannabi - Legend黑胶试听\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/449b2fdf755478b5d2d63f88bc1528267d401c42.jpg\",\"type\":\"video\",\"title\":\"致犹豫不决的<em class=\\\"keyword\\\">恋</em>人们 - Jannabi 黑胶试听\",\"duration\":\"4:23\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":185,\"senddate\":1620918271,\"typeid\":\"130\",\"id\":290296385,\"tag\":\"人间治愈时刻,黑胶试听,jannabi,乐队,黑胶,音乐\",\"video_review\":43,\"pubdate\":1619785183,\"author\":\"hhaell\",\"arcurl\":\"http://www.bilibili.com/video/av290296385\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":290296385,\"is_pay\":0,\"typename\":\"音乐综合\"},{\"play\":467218,\"favorites\":28993,\"bvid\":\"BV1sK4y1t7Gr\",\"rank_score\":102369073,\"hit_columns\":[\"title\"],\"mid\":387994725,\"description\":\"―――――もしもし。\\n\\n\\n\\n『プロジェクトセカイ カラフルステージ！ feat. 初音ミク』\\n「25時、ナイトコードで。」書き下ろし楽曲のセルフカバーです\\n\\n\\n絵 茶々ごま https://twitter.com/gura1000be\\n映像 MONO-Devoid https://twitter.com/DevoidFire\\n\\n歌／作詞作編曲\\nまふまふ https://weibo.com/u/6856340946\\n\\n\\nプロジェクトセカイ　公式サイト\\nhttps://pjsekai.sega.jp/\\n\\nTw\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/bd22ac7e15dde32f499ceff69db1d9c134791a0a.jpg\",\"type\":\"video\",\"title\":\"【MV】携帯<em class=\\\"keyword\\\">恋</em>話／まふまふ\",\"duration\":\"4:17\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":1855,\"senddate\":1590141493,\"typeid\":\"28\",\"id\":883285731,\"tag\":\"MV,mafumafu\",\"video_review\":2858,\"pubdate\":1590141493,\"author\":\"Mafumafu_Channel\",\"arcurl\":\"http://www.bilibili.com/video/av883285731\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":883285731,\"is_pay\":0,\"typename\":\"原创音乐\"},{\"play\":415426,\"favorites\":8904,\"bvid\":\"BV1Vk4y1R78H\",\"rank_score\":102331936,\"hit_columns\":[\"title\"],\"mid\":443251522,\"description\":\"\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/8b3f7b3738e9f70e684f3796e9f9c36da7f51609.jpg\",\"type\":\"video\",\"title\":\"胡彦斌、白举纲&quot;岔气式&quot;对唱《单<em class=\\\"keyword\\\">恋</em>一枝花》\",\"duration\":\"5:34\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":503,\"senddate\":1587460505,\"typeid\":\"28\",\"id\":752769640,\"tag\":\"胡彦斌,音乐,现场,歌曲,改编\",\"video_review\":1211,\"pubdate\":1587460505,\"author\":\"胡彦斌TigerHu\",\"arcurl\":\"http://www.bilibili.com/video/av752769640\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":752769640,\"is_pay\":0,\"typename\":\"原创音乐\"},{\"play\":414443,\"favorites\":22233,\"bvid\":\"BV1Nr4y1M77o\",\"rank_score\":102320884,\"hit_columns\":[\"title\"],\"mid\":480536263,\"description\":\"原作《狐言》BV1Xs41197PH\\n演唱&amp;念白：魂喵喵\\n填词：迟公台\\n混音：饭団子P\\n后期：未央\\n插画：自摸叉腰姬\\n——————————————————\\n上一作《岩龙吟》来听听钟离的故事BV1C5411G7fk\\n\\n这一作产出着实紧凑\\n【关于混音】饭団老师效率不要太高！2个小时不到就出成品了，还超级有耐心，感动喵国\\n【关于填词】公台的填词简直棒，最初也在填词上遇到过一些问题，为了填出更好的作品，还请了老师学习相关知识，总之我已经把公台填词YYDS打公屏上了\\n【关于插画】画画人画画魂画画人永远是不眠人？\\n【\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/a0fa56aa37f5bd384c852eebd561482025918465.jpg\",\"type\":\"video\",\"title\":\"【原神×甘雨】<em class=\\\"keyword\\\">恋</em>雨 | 璃月有娇娘 冰洁如月光\",\"duration\":\"3:14\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":808,\"senddate\":1610614599,\"typeid\":\"31\",\"id\":756238398,\"tag\":\"翻唱挑战赛,原神,米哈游,甘雨,王小美,狐言,魂喵喵,虚拟偶像,VUP,戏腔\",\"video_review\":945,\"pubdate\":1610506810,\"author\":\"魂喵喵Official\",\"arcurl\":\"http://www.bilibili.com/video/av756238398\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":1,\"aid\":756238398,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":188,\"favorites\":28,\"bvid\":\"BV1Vv411L7Z9\",\"rank_score\":102237205,\"hit_columns\":[\"title\",\"tag\"],\"mid\":457348604,\"description\":\"谱子BV12b411778D 节奏按的的自己舒服的来 用软件把声音调大了声音所以底噪会比较大\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/a1fb97417f446e6142fa11ba4755679330ee5e37.jpg\",\"type\":\"video\",\"title\":\"全站首发【<em class=\\\"keyword\\\">恋</em>与制作人】无声告白 吉他指弹 在520这天送你的一份礼物\",\"duration\":\"1:25\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":21,\"senddate\":1621440189,\"typeid\":\"59\",\"id\":248199659,\"tag\":\"520发现爱,恋与制作人,指弹,吉他指弹,音乐,木吉他\",\"video_review\":2,\"pubdate\":1621440189,\"author\":\"克林的克林\",\"arcurl\":\"http://www.bilibili.com/video/av248199659\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":248199659,\"is_pay\":0,\"typename\":\"演奏\"}],\"numPages\":50,\"show_column\":0,\"cost_time\":{\"params_check\":\"0.000422\",\"deserialize_response\":\"0.000888\",\"as_request_format\":\"0.000469\",\"as_request\":\"0.130895\",\"total\":\"0.142162\",\"as_response_format\":\"0.004002\",\"save_cache\":\"0.001139\",\"main_handler\":\"0.136598\",\"illegal_handler\":\"0.000068\"},\"seid\":\"5055468986528622124\",\"pagesize\":20,\"numResults\":1000,\"egg_hit\":0,\"page\":1,\"rqt_type\":\"search\",\"exp_list\":{\"5501\":true,\"6604\":true}}");


        return detail;

    }


    @RequestMapping("/x/v/similar")
    @ResponseBody
    public String getSimilar(String av,String cookies, HttpServletRequest request) {

        String similar = ds.getSimilar(av,cookies);
        System.out.println("similar访问");
        //ay\":830646,\"favorites\":24667,\"bvid\":\"BV1Xf4y1R77V\",\"rank_score\":110735126,\"hit_columns\":[\"title\",\"description\"],\"mid\":642136732,\"description\":\"2016/09/20 公开\\n星野源 9th Single『恋』\\nhttps://jvcmusic.lnk.to/koi\\n \\n作词・作曲・编曲・制作 / 星野源\\n \\n星野源:\\nWebsite:  https://www.hoshinogen.com/cn/\\nWeibo:https://weibo.com/u/7295580084\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/3c5cfe74a949d6fbf0e43b661e80c59f5bd9bf83.jpg\",\"type\":\"video\",\"title\":\"【官方】星野源 – <em class=\\\"keyword\\\">恋</em> (Official Video)  星野源的B站首支投稿\",\"duration\":\"4:34\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":3855,\"senddate\":1595680815,\"typeid\":\"193\",\"id\":286430352,\"tag\":\"星野源\",\"video_review\":2364,\"pubdate\":1595680814,\"author\":\"星野源\",\"arcurl\":\"http://www.bilibili.com/video/av286430352\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":286430352,\"is_pay\":0,\"typename\":\"MV\"},{\"play\":165543,\"favorites\":5041,\"bvid\":\"BV1Qf4y1q7H7\",\"rank_score\":106420723,\"hit_columns\":[\"title\"],\"mid\":642136732,\"description\":\"星野源 Blu-ray &amp; DVD 『DOME TOUR “POP VIRUS” at TOKYO DOME』\\nhttps://jvcmusic.lnk.to/dometourpopvirus_shop\\n \\n1. 歌を歌うときは\\n2. Pop Virus\\n3. 地獄でなぜ悪い\\n4. Get a Feel\\n5. 桜の森\\n6. 肌\\n7. Pair Dancer\\n8. Present\\n9. サピエンス\\n10. ドラえもん\\n11.「一流ミュージシャンからのお祝いコメント1」\\n12. ばらばら\\n13. STUTS \",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/c44be4af875c81562f4fde4564660338cc957e86.jpg\",\"type\":\"video\",\"title\":\"【官方】星野源 – <em class=\\\"keyword\\\">恋</em>（Live at Tokyo Dome 2019）\",\"duration\":\"4:21\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":420,\"senddate\":1602064818,\"typeid\":\"29\",\"id\":287335344,\"tag\":\"星野源\",\"video_review\":526,\"pubdate\":1602064815,\"author\":\"星野源\",\"arcurl\":\"http://www.bilibili.com/video/av287335344\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":287335344,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":106015,\"favorites\":1115,\"bvid\":\"BV1yQ4y1o7qB\",\"rank_score\":105192005,\"hit_columns\":[\"title\",\"tag\"],\"mid\":42561463,\"description\":\"今天是520，现在是下午5:20\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/3ee12c6b2ae37df9423a76ebc3afee08f18c4558.jpg\",\"type\":\"video\",\"title\":\"【唢呐】星野源 – <em class=\\\"keyword\\\">恋</em> (逃避虽可耻但有用）\",\"duration\":\"1:32\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":703,\"senddate\":1621502421,\"typeid\":\"59\",\"id\":715645098,\"tag\":\"恋,音乐,名曲,唢呐,星野源,逃避虽可耻但有用,古乐新意\",\"video_review\":235,\"pubdate\":1621502416,\"author\":\"浑元Rysn\",\"arcurl\":\"http://www.bilibili.com/video/av715645098\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":715645098,\"is_pay\":0,\"typename\":\"演奏\"},{\"play\":417988,\"favorites\":14360,\"bvid\":\"BV1MC4y1b7Sq\",\"rank_score\":104736329,\"hit_columns\":[\"title\",\"description\"],\"mid\":403748305,\"description\":\"BML2020云live单品《恋》。你从未听过的船新版本\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/d1d3ee1db6ca1f2b37c6063e014563b131833582.jpg\",\"type\":\"video\",\"title\":\"星野源不一样的《<em class=\\\"keyword\\\">恋</em>》！你从未听过的船新版本！【BML2020单品】\",\"duration\":\"5:38\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":968,\"senddate\":1596019487,\"typeid\":\"29\",\"id\":796415071,\"tag\":\"bml,bml云live,星野源\",\"video_review\":2158,\"pubdate\":1595684226,\"author\":\"BML制作指挥部\",\"arcurl\":\"http://www.bilibili.com/video/av796415071\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":1,\"aid\":796415071,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":346544,\"favorites\":1861,\"bvid\":\"BV1zK4y1A7sy\",\"rank_score\":103589378,\"hit_columns\":[\"title\",\"tag\"],\"mid\":19868163,\"description\":\"红白歌会\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/78cdad75a6d11a9a92e72c71fbf265da38380b0c.jpg\",\"type\":\"video\",\"title\":\"红白战歌 星野源 《<em class=\\\"keyword\\\">恋</em>》\",\"duration\":\"4:46\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":893,\"senddate\":1621065256,\"typeid\":\"29\",\"id\":888051184,\"tag\":\"恋,红白歌会,逃避可耻但有用,新垣结衣\",\"video_review\":872,\"pubdate\":1621065256,\"author\":\"缠缠成溪\",\"arcurl\":\"http://www.bilibili.com/video/av888051184\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":888051184,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":180556,\"favorites\":3707,\"bvid\":\"BV1LK4y1U7TN\",\"rank_score\":103200632,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":1880696010,\"description\":\"大家好??\\n\\n天气终于渐暖了，春天要来了~! 作为纪念，我们准备的是适合春天的，欢快的歌曲! \\n[日剧]逃避虽可耻但很有用ED- 恋 (Koi).\\n我相信大多数人都知道这首歌! 听这首歌会变得很幸福，所以录制的过程我们的心情也很好呢! 舞蹈...对...对.......!\\n希望大家今天也度过幸福的一天哦!\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/193e4f0ce8b81b6a9a15b4968d48c9450c41a056.jpg\",\"type\":\"video\",\"title\":\"这首歌是超级萌萌的日剧主题曲!!!《逃避虽可耻但很有用》OST 《<em class=\\\"keyword\\\">恋</em>(Koi)》-星野 源 │月亮河马Dalmabal\",\"duration\":\"3:52\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":204,\"senddate\":1615196194,\"typeid\":\"31\",\"id\":929622292,\"tag\":\"沙雕日常,bilibili新星计划,外语翻唱,治愈向,唱歌,音乐,日语翻唱,吉他弹唱,逃避虽可耻但很有用,恋\",\"video_review\":132,\"pubdate\":1615196194,\"author\":\"月亮河马Dalmabal\",\"arcurl\":\"http://www.bilibili.com/video/av929622292\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":929622292,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":77424,\"favorites\":6242,\"bvid\":\"BV1D54y1b75x\",\"rank_score\":103092017,\"hit_columns\":[\"title\"],\"mid\":15388834,\"description\":\"转自：https://www.youtube.com/watch?v=o3JH_i1JzYM&amp;feature\\n网易云音频:https://y.music.163.com/m/song/1822259438/?uct=T19XDEZAG9De8pah6oTQAw%3D%3D&amp;app_version=8.2.0\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/dc6a14cdb725fd4b941f729ee690878f819fa274.jpg\",\"type\":\"video\",\"title\":\"【たかやん】「推しにガチ<em class=\\\"keyword\\\">恋</em>する曲」 中文字幕\",\"duration\":\"3:32\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":243,\"senddate\":1620460827,\"typeid\":\"130\",\"id\":845115666,\"tag\":\"音乐,youtube,日本,日语,たかやん,歌曲\",\"video_review\":168,\"pubdate\":1618143982,\"author\":\"伪人_\",\"arcurl\":\"http://www.bilibili.com/video/av845115666\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":845115666,\"is_pay\":0,\"typename\":\"音乐综合\"},{\"play\":9446,\"favorites\":63,\"bvid\":\"BV1nK4y1G75g\",\"rank_score\":103074883,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":670400594,\"description\":\"《逃避虽可耻但有用》的主题曲《恋》钢琴版~\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/adcc04e5e04e1850952775d8d521ee0847802df7.jpg\",\"type\":\"video\",\"title\":\"【<em class=\\\"keyword\\\">恋</em>】逃避虽然可耻，但真的有用~\",\"duration\":\"1:41\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":152,\"senddate\":1621496787,\"typeid\":\"59\",\"id\":888207741,\"tag\":\"BGM,恋,音乐,新垣结衣,翻弹,钢琴版,钢琴演奏,星野源,逃避虽可耻但有用,520心动告白季\",\"video_review\":19,\"pubdate\":1621496787,\"author\":\"艾栗夏\",\"arcurl\":\"http://www.bilibili.com/video/av888207741\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":888207741,\"is_pay\":0,\"typename\":\"演奏\"},{\"play\":63,\"favorites\":5,\"bvid\":\"BV1UV411j7hP\",\"rank_score\":102984780,\"hit_columns\":[\"title\",\"tag\"],\"mid\":1274610906,\"description\":\"520快乐呀！！！\\r\\n完整录播：《20210519 今天学歌+唱歌——》https://www.bilibili.com/video/BV19v41157an?p=4\\r\\n\\r\\nstaff：花宴ichika\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/a36c349fb7b429046540b8d6c9c5f9d639e7d4fe.png\",\"type\":\"video\",\"title\":\"【直播切片/花宴ichika】<em class=\\\"keyword\\\">恋</em> / 星野源（520快乐！！！）\",\"duration\":\"4:15\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":5,\"senddate\":1621496078,\"typeid\":\"29\",\"id\":418232679,\"tag\":\"恋,新垣结衣,星野源,逃避可耻但有用,逃避虽可耻但有用\",\"video_review\":0,\"pubdate\":1621496078,\"author\":\"花宴ichika\",\"arcurl\":\"http://www.bilibili.com/video/av418232679\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":418232679,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":435,\"favorites\":6,\"bvid\":\"BV1R5411u7eH\",\"rank_score\":102826366,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":12976034,\"description\":\"原曲《恋》by 星野源\\n翻唱：DBYezihu\\n这次是一次过的，有些瑕疵见谅qwq\\n喜欢的话可以三连+关注\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/445c2edb03d9f774dca3b6c868ed3368258b7377.jpg\",\"type\":\"video\",\"title\":\"新垣结衣结婚了，沙雕网友悲痛之下翻唱星野源的《<em class=\\\"keyword\\\">恋</em>》\",\"duration\":\"4:43\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":3,\"senddate\":1621518332,\"typeid\":\"31\",\"id\":460740496,\"tag\":\"恋,音乐,搞笑,新垣结衣,男声,COVER,日文翻唱,星野源,逃避虽可耻但有用,我的音乐你听吗\",\"video_review\":0,\"pubdate\":1621483214,\"author\":\"DBYezihu\",\"arcurl\":\"http://www.bilibili.com/video/av460740496\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":460740496,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":26229,\"favorites\":224,\"bvid\":\"BV1R64y1y7Hr\",\"rank_score\":102779636,\"hit_columns\":[\"title\",\"tag\"],\"mid\":9233579,\"description\":\"旧档更新\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/d01ccd60eb10cf1d5aa927a2f47537a97d6d31ab.jpg\",\"type\":\"video\",\"title\":\"星野源 - <em class=\\\"keyword\\\">恋</em> Music Station 18-09-17\",\"duration\":\"4:36\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":64,\"senddate\":1619433717,\"typeid\":\"29\",\"id\":760303165,\"tag\":\"恋,星野源,逃避可耻却有用\",\"video_review\":21,\"pubdate\":1619433717,\"author\":\"レモンの興味物\",\"arcurl\":\"http://www.bilibili.com/video/av760303165\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":760303165,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":1153,\"favorites\":38,\"bvid\":\"BV1hN411Z7x7\",\"rank_score\":102724418,\"hit_columns\":[\"title\",\"tag\"],\"mid\":4322043,\"description\":\"原唱：星野源\\n翻唱：月霖\\n大家520快乐~~~~昨日惊闻星野源和新垣结衣结婚，震惊完该祝福两个小可爱啦，也祝大家都能找到自己的幸福~~~~\\n\\n最近时间很赶，大晚上录完这首来不及后期了orz大家听个响\\n总之大帅逼和大漂亮们三连先啦~~~~\\n\\n网易云：月霖\\n粉丝群：1143420617\\n录播：月霖录播机\\n网站：www.yuelin.live\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/dd0a8e950c38b91d224e01e342546dfec48a7ce5.jpg\",\"type\":\"video\",\"title\":\"【月霖翻唱】星野源——<em class=\\\"keyword\\\">恋</em> 逃避可耻但有用\",\"duration\":\"4:10\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":26,\"senddate\":1621474216,\"typeid\":\"31\",\"id\":503222232,\"tag\":\"恋,新垣结衣,日文翻唱,星野源,Gakki,逃避可耻但有用\",\"video_review\":0,\"pubdate\":1621474214,\"author\":\"月霖_咕咕\",\"arcurl\":\"http://www.bilibili.com/video/av503222232\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":503222232,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":566755,\"favorites\":13696,\"bvid\":\"BV1sK411J74T\",\"rank_score\":102714816,\"hit_columns\":[\"title\"],\"mid\":229733301,\"description\":\"自己制作\\n蓝光原盘制作\\n原盘自带的字幕\\n4K最高画质制作\\n之前一位粉丝疯狂推荐的歌曲\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/f46fef163e8d9de72f12a2e4f45fe04d241d8c57.jpg\",\"type\":\"video\",\"title\":\"【4K30FPS】杨千嬅《少女的祈祷》超感人现场！献给所有的<em class=\\\"keyword\\\">恋</em>人们\",\"duration\":\"3:31\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":390,\"senddate\":1621304497,\"typeid\":\"29\",\"id\":498906488,\"tag\":\"华语现场,杨千嬅,粤语现场,少女的祈祷,4K\",\"video_review\":571,\"pubdate\":1594981150,\"author\":\"音乐私藏馆\",\"arcurl\":\"http://www.bilibili.com/video/av498906488\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":498906488,\"is_pay\":0,\"typename\":\"音乐现场\"},{\"play\":541554,\"favorites\":49855,\"bvid\":\"BV1by4y1b7pB\",\"rank_score\":102618534,\"hit_columns\":[\"title\"],\"mid\":417096985,\"description\":\"作词：NE/金鼠儿\\n作曲：NE/金鼠儿\\n混音：NE\\n视频制作：YB\\n爱情是精神上的，遵循自己的内心一点问题都没有，尊重和理解，同性恋怎么，我兄弟也是，他们没有错\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/95bbbdd8800a250b02baf782e245a6eafe196e6d.jpg\",\"type\":\"video\",\"title\":\"【说唱】同 性 <em class=\\\"keyword\\\">恋</em> 有 错 吗\",\"duration\":\"3:14\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":3979,\"senddate\":1617501852,\"typeid\":\"28\",\"id\":799902298,\"tag\":\"全能音乐挑战赛,说唱,HIPHOP,RAP,音乐,嘻哈,原创歌曲,05,音乐视频,同性恋\",\"video_review\":2253,\"pubdate\":1617501617,\"author\":\"一只NE呐\",\"arcurl\":\"http://www.bilibili.com/video/av799902298\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":1,\"aid\":799902298,\"is_pay\":0,\"typename\":\"原创音乐\"},{\"play\":63608,\"favorites\":4668,\"bvid\":\"BV1hp4y1H74D\",\"rank_score\":102488294,\"hit_columns\":[\"title\",\"description\",\"tag\"],\"mid\":13839671,\"description\":\"https://www.youtube.com/watch?v=EV5iSxhvBrQ\\n字幕/翻译：JZLSX\\n可能有错 仅供参考\\n\\n男子：奥平大兼　女子：長澤樹\\n先生：浜辺美波・まふまふ\\n\\n■音楽「片恋」　\\n歌   ：まふまふ\\n作曲：草野華余子\\n作詞：いしわたり淳治\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/e83f2109f80479faab27b4f47d411002ced30efb.jpg\",\"type\":\"video\",\"title\":\"【中文字幕/女子篇】高校1000日間の片想い 【まふまふ・浜辺美波・奥平大兼・長澤樹/ドコモ/曲:「片<em class=\\\"keyword\\\">恋</em>」】\",\"duration\":\"4:0\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":165,\"senddate\":1615782800,\"typeid\":\"193\",\"id\":971936910,\"tag\":\"まふまふ,中文字幕,字幕,片恋\",\"video_review\":132,\"pubdate\":1614667372,\"author\":\"uni_JZ-LSX\",\"arcurl\":\"http://www.bilibili.com/video/av971936910\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":971936910,\"is_pay\":0,\"typename\":\"MV\"},{\"play\":55410,\"favorites\":4248,\"bvid\":\"BV1Bf4y1p7fb\",\"rank_score\":102389903,\"hit_columns\":[\"title\"],\"mid\":1966810,\"description\":\"주저하는 연인들을 위해 \\nFor Lovers Who Hesitate\\nJannabi - Legend黑胶试听\",\"badgepay\":false,\"pic\":\"//i0.hdslb.com/bfs/archive/449b2fdf755478b5d2d63f88bc1528267d401c42.jpg\",\"type\":\"video\",\"title\":\"致犹豫不决的<em class=\\\"keyword\\\">恋</em>人们 - Jannabi 黑胶试听\",\"duration\":\"4:23\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":185,\"senddate\":1620918271,\"typeid\":\"130\",\"id\":290296385,\"tag\":\"人间治愈时刻,黑胶试听,jannabi,乐队,黑胶,音乐\",\"video_review\":43,\"pubdate\":1619785183,\"author\":\"hhaell\",\"arcurl\":\"http://www.bilibili.com/video/av290296385\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":290296385,\"is_pay\":0,\"typename\":\"音乐综合\"},{\"play\":467218,\"favorites\":28993,\"bvid\":\"BV1sK4y1t7Gr\",\"rank_score\":102369073,\"hit_columns\":[\"title\"],\"mid\":387994725,\"description\":\"―――――もしもし。\\n\\n\\n\\n『プロジェクトセカイ カラフルステージ！ feat. 初音ミク』\\n「25時、ナイトコードで。」書き下ろし楽曲のセルフカバーです\\n\\n\\n絵 茶々ごま https://twitter.com/gura1000be\\n映像 MONO-Devoid https://twitter.com/DevoidFire\\n\\n歌／作詞作編曲\\nまふまふ https://weibo.com/u/6856340946\\n\\n\\nプロジェクトセカイ　公式サイト\\nhttps://pjsekai.sega.jp/\\n\\nTw\",\"badgepay\":false,\"pic\":\"//i1.hdslb.com/bfs/archive/bd22ac7e15dde32f499ceff69db1d9c134791a0a.jpg\",\"type\":\"video\",\"title\":\"【MV】携帯<em class=\\\"keyword\\\">恋</em>話／まふまふ\",\"duration\":\"4:17\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":1855,\"senddate\":1590141493,\"typeid\":\"28\",\"id\":883285731,\"tag\":\"MV,mafumafu\",\"video_review\":2858,\"pubdate\":1590141493,\"author\":\"Mafumafu_Channel\",\"arcurl\":\"http://www.bilibili.com/video/av883285731\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":883285731,\"is_pay\":0,\"typename\":\"原创音乐\"},{\"play\":415426,\"favorites\":8904,\"bvid\":\"BV1Vk4y1R78H\",\"rank_score\":102331936,\"hit_columns\":[\"title\"],\"mid\":443251522,\"description\":\"\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/8b3f7b3738e9f70e684f3796e9f9c36da7f51609.jpg\",\"type\":\"video\",\"title\":\"胡彦斌、白举纲&quot;岔气式&quot;对唱《单<em class=\\\"keyword\\\">恋</em>一枝花》\",\"duration\":\"5:34\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":503,\"senddate\":1587460505,\"typeid\":\"28\",\"id\":752769640,\"tag\":\"胡彦斌,音乐,现场,歌曲,改编\",\"video_review\":1211,\"pubdate\":1587460505,\"author\":\"胡彦斌TigerHu\",\"arcurl\":\"http://www.bilibili.com/video/av752769640\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":752769640,\"is_pay\":0,\"typename\":\"原创音乐\"},{\"play\":414443,\"favorites\":22233,\"bvid\":\"BV1Nr4y1M77o\",\"rank_score\":102320884,\"hit_columns\":[\"title\"],\"mid\":480536263,\"description\":\"原作《狐言》BV1Xs41197PH\\n演唱&amp;念白：魂喵喵\\n填词：迟公台\\n混音：饭団子P\\n后期：未央\\n插画：自摸叉腰姬\\n——————————————————\\n上一作《岩龙吟》来听听钟离的故事BV1C5411G7fk\\n\\n这一作产出着实紧凑\\n【关于混音】饭団老师效率不要太高！2个小时不到就出成品了，还超级有耐心，感动喵国\\n【关于填词】公台的填词简直棒，最初也在填词上遇到过一些问题，为了填出更好的作品，还请了老师学习相关知识，总之我已经把公台填词YYDS打公屏上了\\n【关于插画】画画人画画魂画画人永远是不眠人？\\n【\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/a0fa56aa37f5bd384c852eebd561482025918465.jpg\",\"type\":\"video\",\"title\":\"【原神×甘雨】<em class=\\\"keyword\\\">恋</em>雨 | 璃月有娇娘 冰洁如月光\",\"duration\":\"3:14\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":808,\"senddate\":1610614599,\"typeid\":\"31\",\"id\":756238398,\"tag\":\"翻唱挑战赛,原神,米哈游,甘雨,王小美,狐言,魂喵喵,虚拟偶像,VUP,戏腔\",\"video_review\":945,\"pubdate\":1610506810,\"author\":\"魂喵喵Official\",\"arcurl\":\"http://www.bilibili.com/video/av756238398\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":1,\"aid\":756238398,\"is_pay\":0,\"typename\":\"翻唱\"},{\"play\":188,\"favorites\":28,\"bvid\":\"BV1Vv411L7Z9\",\"rank_score\":102237205,\"hit_columns\":[\"title\",\"tag\"],\"mid\":457348604,\"description\":\"谱子BV12b411778D 节奏按的的自己舒服的来 用软件把声音调大了声音所以底噪会比较大\",\"badgepay\":false,\"pic\":\"//i2.hdslb.com/bfs/archive/a1fb97417f446e6142fa11ba4755679330ee5e37.jpg\",\"type\":\"video\",\"title\":\"全站首发【<em class=\\\"keyword\\\">恋</em>与制作人】无声告白 吉他指弹 在520这天送你的一份礼物\",\"duration\":\"1:25\",\"arcrank\":\"0\",\"rec_tags\":null,\"review\":21,\"senddate\":1621440189,\"typeid\":\"59\",\"id\":248199659,\"tag\":\"520发现爱,恋与制作人,指弹,吉他指弹,音乐,木吉他\",\"video_review\":2,\"pubdate\":1621440189,\"author\":\"克林的克林\",\"arcurl\":\"http://www.bilibili.com/video/av248199659\",\"view_type\":\"\",\"new_rec_tags\":[],\"is_union_video\":0,\"aid\":248199659,\"is_pay\":0,\"typename\":\"演奏\"}],\"numPages\":50,\"show_column\":0,\"cost_time\":{\"params_check\":\"0.000422\",\"deserialize_response\":\"0.000888\",\"as_request_format\":\"0.000469\",\"as_request\":\"0.130895\",\"total\":\"0.142162\",\"as_response_format\":\"0.004002\",\"save_cache\":\"0.001139\",\"main_handler\":\"0.136598\",\"illegal_handler\":\"0.000068\"},\"seid\":\"5055468986528622124\",\"pagesize\":20,\"numResults\":1000,\"egg_hit\":0,\"page\":1,\"rqt_type\":\"search\",\"exp_list\":{\"5501\":true,\"6604\":true}}");


        return similar;



    }

    /**
     * code 753更新，951公告
     * 返回code:xx  msg : xx  url: xx

     * @param request
     * @return
     */
    @RequestMapping("/x/v/msg")
    @ResponseBody
    public JSONObject getMSG(String version,boolean first, HttpServletRequest request) {
        System.out.println("进入msg");
        JSONObject j = new JSONObject();
        String info_info = redisTemplate.opsForValue().get("has_info");
        String new_version = redisTemplate.opsForValue().get("version");
        String[] nw = new_version.split("\\.");
        String[] old = version.split("\\.");
        int n_v = new Integer(nw[0])*100 + new Integer(nw[1])*10+new Integer(nw[2])*1;
        int o_v = new Integer(old[0])*100 + new Integer(old[1])*10+new Integer(old[2])*1;
        if(o_v < n_v){

            String version_info = redisTemplate.opsForValue().get("version_info");
            j.put("code",753);
            j.put("msg",version_info);
            j.put("version_name","Xmusic-"+new_version+".apk");

        }else {
            if(first){
                String version_info = redisTemplate.opsForValue().get("info_first");
                j.put("code",952);
                j.put("msg",version_info);


            }else if(info_info.equals("hasInfo")){
                String version_info = redisTemplate.opsForValue().get("info_info");
                j.put("code",951);
                j.put("msg",version_info);
            }else {
                j.put("code",200);
            }
        }



        return j;

    }

    /**
     * code 753更新，951公告
     * 返回code:xx  msg : xx  url: xx

     * @param request
     * @return
     */
    @RequestMapping("/x/v/up")
    @ResponseBody
    public String upgrade(String version,String info, HttpServletRequest request) {
        System.out.println(version);
        System.out.println(info);
        redisTemplate.opsForValue().set("version",version);
        redisTemplate.opsForValue().set("version_info",info);


        return redisTemplate.opsForValue().get("version")+":::"+redisTemplate.opsForValue().get("version_info");

    }



    @RequestMapping("/x/v/downApp")
    @ResponseBody
    public void getApp(HttpServletResponse response) {
        File app = new File("/root/app/Xmusic.apk");
        //File app = new File("G:\\Download\\TencentNews_10565.apk");

        try {
            InputStream is = new FileInputStream(app);
            response.reset();

            response.setContentLengthLong(app.length());

            ServletOutputStream outputStream = response.getOutputStream();

            byte[] buffer = new byte[1024];
            int len ;
            while ((len = is.read(buffer))>0) {
                outputStream.write(buffer,0,len);
                outputStream.flush();
            }

        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }


        //return redisTemplate.opsForValue().get("version")+":::"+redisTemplate.opsForValue().get("version_info");

    }

    @RequestMapping("/x/v/hasinfo")
    @ResponseBody
    public String hinfo(String has_info,String info_info, HttpServletRequest request) {
        System.out.println(has_info);
        System.out.println(info_info);
        redisTemplate.opsForValue().set("has_info",has_info);
        redisTemplate.opsForValue().set("info_info",info_info);


        return redisTemplate.opsForValue().get("has_info")+":::"+redisTemplate.opsForValue().get("info_info");

    }
    @RequestMapping("/x/v/firstinfo")
    @ResponseBody
    public String hifo(String first_info, HttpServletRequest request) {


        redisTemplate.opsForValue().set("info_first",first_info);



        return redisTemplate.opsForValue().get("info_first")+":::";

    }

    /**
     *
     * @param quality 0:192k 1:132k 2:64k
     * @param av 视频av或者bv号
     * @param request
     * @param response
     */
    @RequestMapping(value = "/x/v/play_music")
    public void appAudio(@RequestParam(defaultValue="0",required=false) int quality, String av, String cookies, HttpServletRequest request, HttpServletResponse response){
        //String url ="https://xy14x104x230x146xy.mcdn.bilivideo.cn:4483/upgcxcode/08/39/334883908/334883908_nb2-1-30280.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1621410514&gen=playurlv2&os=mcdn&oi=2102830156&trid=0001f9096b402e774dc7868216b4c01fa236u&platform=pc&upsig=4f68bc72eb343f45143d8e28f14acd6b&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mcdnid=2000740&mid=229162729&orderid=0,3&agrr=1&logo=A0000002";
        System.out.println("访问音频");
        request.setAttribute("cookies",cookies);
        JSONArray audio = ds.appVideo(av, request);
        String url30280 = "",url30216 = "",url30232 = "";
        if(audio.size() > 1 && false){
            //TODO 多p音频 暂时多P就取第一个
        }else {

            JSONObject audio1 = audio.getJSONObject(0).getJSONArray("audio").getJSONObject(0);

            switch (audio1.getInteger("id")){
                case 30280:
                    url30280 = audio1.getString("baseUrl");
                    break;
                case 30216:
                    url30216 = audio1.getString("baseUrl");
                    break;
                case 30232:
                    url30232 = audio1.getString("baseUrl");
                    break;
                default:
                    throw new NullPointerException("此音频质量无配置");
            }
            if(audio.getJSONObject(0).getJSONArray("audio").size()>1){
                JSONObject audio2 = audio.getJSONObject(0).getJSONArray("audio").getJSONObject(1);
                switch (audio2.getInteger("id")){
                    case 30280:
                        url30280 = audio2.getString("baseUrl");
                        break;
                    case 30216:
                        url30216 = audio2.getString("baseUrl");
                        break;
                    case 30232:
                        url30232 = audio2.getString("baseUrl");
                        break;
                    default:
                        throw new NullPointerException("此音频质量无配置");
                }
            }
            if(audio.getJSONObject(0).getJSONArray("audio").size()>2){
                JSONObject audio3 = audio.getJSONObject(0).getJSONArray("audio").getJSONObject(2);

                switch (audio3.getInteger("id")){
                    case 30280:
                        url30280 = audio3.getString("baseUrl");
                        break;
                    case 30216:
                        url30216 = audio3.getString("baseUrl");
                        break;
                    case 30232:
                        url30232 = audio3.getString("baseUrl");
                        break;
                    default:
                        throw new NullPointerException("此音频质量无配置");
                }
            }



        }
        String url = "";
        switch (quality){
            case 0:
                url = url30280;
                break;
            case 1:
                url = url30232;
                break;
            case 2:
                url = url30216;
                break;
        }
        if(url == ""){
            url = url30280;
        }
        if(url == ""){
            url = url30232;
        }
        if(url == ""){
            url = url30216;
        }
        ds.appAudio(url,request,response);



    }
    @Autowired
    private RedisTemplate<String, String> redisTemplate;


    /**
     * 往下划 继续返回视频
     * @param cookies
     * @param request
     * @return
     */
    @RequestMapping("/x/v/get_video")
    @ResponseBody
    public String getVideo(int offset,int limit,String cookies, HttpServletRequest request) {
        String video = "";
        String arrays = redisTemplate.opsForValue().get(cookies);
        if(arrays == null || arrays == ""){
            setNewVideo(cookies,request);
            arrays = redisTemplate.opsForValue().get(cookies);
        }
        JSONArray array = JSONArray.parseArray(arrays);
        if(limit+offset>array.size()){
            offset = 0;
        }
        JSONArray result = new JSONArray();
        for (int i = offset; i < offset+limit; i++) {
            result.add(array.get(i));
        }

        return result.toJSONString();

    }



    /**
     * 往下划 继续返回视频
     * @param cookies
     * @param request
     * @return
     */
    @RequestMapping("/x/v/setNew_video")
    @ResponseBody
    public String setNewVideo(String cookies, HttpServletRequest request) {
        String arrays = redisTemplate.opsForValue().get(cookies);
        if(arrays != null && !arrays.equals("")){

            JSONArray result = JSONArray.parseArray(arrays);
            Collections.shuffle(result);
            JSONArray r = new JSONArray();
            for (int i = 0; i < 20; i++) {
                r.add(result.get(i));
            }
            return r.toJSONString();
        }
        JSONArray likes = ds.getLike(request,cookies);
        JSONArray all = new JSONArray();
        for (Object a:likes
             ) {
            all.addAll((JSONArray)a);
        }
        Collections.shuffle(all);
        redisTemplate.opsForValue().set(cookies,all.toJSONString(),60*10, TimeUnit.SECONDS);
        JSONArray result = new JSONArray();
        for (int i = 0; i < 20; i++) {
            result.add(all.get(i));
        }

        return result.toJSONString();

    }


    @RequestMapping(value = "/x/v/flv")
    public void flv(@RequestParam(defaultValue="0",required=false) int quality, String av,String cookies, HttpServletRequest request, HttpServletResponse response){
        //String url ="https://xy14x104x230x146xy.mcdn.bilivideo.cn:4483/upgcxcode/08/39/334883908/334883908_nb2-1-30280.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1621410514&gen=playurlv2&os=mcdn&oi=2102830156&trid=0001f9096b402e774dc7868216b4c01fa236u&platform=pc&upsig=4f68bc72eb343f45143d8e28f14acd6b&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mcdnid=2000740&mid=229162729&orderid=0,3&agrr=1&logo=A0000002";
        System.out.println("flv视频");
        JSONArray video = ds.getFlvVideo(av,cookies);
        String url = video.getJSONArray(0).getJSONObject(0).getString("url");



        ds.getFlv(url,cookies,request,response);




    }

}
